package esb.chapter9.restaurant.routing.camel;

import org.apache.camel.builder.RouteBuilder;

public class DuckExpirationRouter extends RouteBuilder {
	
	private final static String SERVICE_IN = RestaurantRouter.JBI_PREFIX + 
		"/duckDSLRouter";
	private final static String DUCK_IN = RestaurantRouter.JBI_PREFIX + 
		"/duckComponent";
	
	public void configure() {
		from(SERVICE_IN).process(new InOutProcessor())
			.to(DUCK_IN).process(new ExpirationProcessor());
	}

}
